package com.tzz.vo;

import lombok.Data;

//@Data
//public class SkuQtyVo {
//    private Integer skuId;
//    private Integer qty;
//    private String asnId;
//}

@Data
public class SkuQtyVo {
    private String asnId;
    private Integer skuId;
    private Integer qty;

    public static class Builder {
        private String asnId;
        private Integer skuId;
        private Integer qty;

        public Builder setAsnId(String asnId) {
            this.asnId = asnId;
            return this;
        }

        public Builder setSkuId(int skuId) {
            this.skuId = skuId;
            return this;
        }

        public Builder setQty(int qty) {
            this.qty = qty;
            return this;
        }

        public SkuQtyVo build() {
            return new SkuQtyVo(this);
        }
    }

    private SkuQtyVo(Builder builder) {
        this.asnId = builder.asnId;
        this.skuId = builder.skuId;
        this.qty = builder.qty;
    }
}

